package com.nwpu.coursesupport.service.param;

import java.util.List;

import com.nwpu.coursesupport.criteria.ResourceSearchCriteria;
import com.nwpu.coursesupport.entity.Resource;
import com.nwpu.coursesupport.entity.Task;

public class ResourceServiceParam{
    public static class CreateParam extends Resource{
        
    }
    
    public static class UpdateParam extends Resource{
        
    }
    
    public static class SearchParam{
        private ResourceSearchCriteria search;
        private int pageNo;
        private String keyword;
        public ResourceSearchCriteria getSearch() {
            return search;
        }
        public void setSearch(ResourceSearchCriteria search) {
            this.search = search;
        }
        public int getPageNo() {
            return pageNo;
        }
        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }
        public String getKeyword() {
            return keyword;
        }
        public void setKeyword(String keyword) {
            this.keyword = keyword;
        }
    }
    public static class DeleteSingleFileParam{
    	private String key;

		public String getKey() {
			return key;
		}

		public void setKey(String key) {
			this.key = key;
		}
    	
    }
    public static class DeleteParam{
    	private List<String> keys;

		public List<String> getKeys() {
			return keys;
		}

		public void setKeys(List<String> keys) {
			this.keys = keys;
		}
    }
}